package main

import (
	"admin-panel/appconfig"
	"admin-panel/cache"
	"admin-panel/models"
	_ "admin-panel/routers"
	beego "github.com/beego/beego/v2/server/web"
)

func main() {
	appconfig.Init() //初始化配置文件
	models.Init()    //连接Mysql
	cache.Init()     //redis连接
	beego.Run()
}
